package mainUI;

import java.io.IOException;

import sentimentalAnalyzer.AnalyzerInterface;

import emotionIndex.EmotionIndexInterface;

public class Main {
	public static void main(String[] args) throws IOException, InterruptedException, ClassNotFoundException {
		initialize();
		run();
	}
	
	public static void initialize() throws IOException, InterruptedException, ClassNotFoundException{
		EmotionIndexInterface.build("/user/shuqingya/input/emotion", "/user/shuqingya/sentimental/emotionIndex");
	}
	
	public static void run() throws IOException, InterruptedException, ClassNotFoundException{
		AnalyzerInterface.analyze("/user/shuqingya/input/comment_test", "/user/shuqingya/sentimental/emotionResult");
	}

}
